Skip to content

Conversation

@vdusek
Copy link
Contributor

@vdusek vdusek commented Jan 27, 2026

Add support for the missing tagged_builds parameter in the Actor update method, allowing users to create, update, or remove build tags.

The parameter accepts a dictionary mapping tag names to either:

  • A dict with 'build_id' key to assign/reassign a tag
  • None to remove a tag

Example usage:

client.actor('my-actor').update(
    tagged_builds={
        'latest': {'build_id': 'abc123'},
        'beta': None  # removes beta tag
    }
)

Changes:

  • Added tagged_builds parameter to get_actor_representation() helper function
  • Added tagged_builds parameter to ActorClient.update() (sync version)
  • Added tagged_builds parameter to ActorClientAsync.update() (async version)

Related:

Closes #585

@vdusek vdusek added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Jan 27, 2026
@vdusek vdusek self-assigned this Jan 27, 2026
@vdusek vdusek requested review from Pijukatel and l2ysho January 27, 2026 08:18
@vdusek vdusek changed the title fix: Add missing taggedBuilds parameter to actor update method fix: Add missing tagged builds parameter to actor update method Jan 27, 2026
@vdusek vdusek changed the title fix: Add missing tagged builds parameter to actor update method fix: Add missing tagged builds parameter to Actor update method Jan 27, 2026
@github-actions github-actions bot added this to the 133rd sprint - Tooling team milestone Jan 27, 2026
@codecov
Copy link

codecov bot commented Jan 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.92%. Comparing base (7112c09) to head (4dd94b6).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #596   +/-   ##
=======================================
  Coverage   75.92%   75.92%           
=======================================
  Files          42       42           
  Lines        2471     2471           
=======================================
  Hits         1876     1876           
  Misses        595      595           
Flag Coverage Δ
integration 68.87% <ø> (ø)
unit 64.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Add support for the missing `tagged_builds` parameter in the Actor
update method, allowing users to create, update, or remove build tags.

The parameter accepts a dictionary mapping tag names to either:
- A dict with 'build_id' key to assign/reassign a tag
- None to remove a tag

Related JS client issue: apify/apify-client-js#829

Closes #585

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@vdusek vdusek force-pushed the fix/add-tagged-builds-parameter branch from 3cc54db to 7ca0d23 Compare January 27, 2026 08:27
@vdusek vdusek changed the title fix: Add missing tagged builds parameter to Actor update method fix: Add missing tagged_builds parameter to Actor update method Jan 27, 2026
Copy link

@l2ysho l2ysho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

vdusek and others added 3 commits January 27, 2026 10:45
Resolved conflict in actor.py by properly placing the tagged_builds
parameter in the actor_dict structure.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@vdusek vdusek merged commit 6210e80 into master Jan 27, 2026
30 checks passed
@vdusek vdusek deleted the fix/add-tagged-builds-parameter branch January 27, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add missing taggedBuild parameter to actor update type

4 participants